package com.example.demo.grbkxt.mapper;

import com.example.demo.grbkxt.model.Comment;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface CommentMapper {
    List<Comment> getCommentsByBlogId(@Param("blogId") String blogId);

    void addComment(Comment comment);

    int deleteComment(@Param("commentId") String commentId, @Param("userId") String userId);
}
